package com.personal.enums;

/**
 * @author coderFu
 * @create 2021/10/1
 *通用返回枚举
 */
public enum CarouselEnum implements Code {

    /** 轮播图 */
    CAROUSEL_LIST_IS_NULL(1050, "轮播图列表为空")
    ;

    private int code;
    private String msg;
    CarouselEnum(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int code() {
        return this.code;
    }

    @Override
    public String msg() {
        return this.msg;
    }
}
